package com.codefish.framework.spring.beans.exception;

/**
 * 在容器中找到不到bean实例时抛出的异常
 *
 * @author <a href='https://gitee.com/hzf2281'>codefish</a>
 * @version 1.0.0
 * @since 2022/09/28 下午 09:27
 */
public class NoSuchBeanDefinitionException extends BeansException {

    public NoSuchBeanDefinitionException(String beanName) {
        super(String.format("找不到beanName为'%s'的BeanDefinition", beanName));
    }

}
